package com.dgut.sales.dao;

import java.util.List;
import java.util.Map;

import com.dgut.sales.bean.Customer;
import com.dgut.sales.dynamic.sql.bean.CustomerSearch;

public interface CustomerDao {
	public Customer getCustomerById(Integer id);
	public Customer getCustomerByName(String name);
	public List<Customer> getAllCustomer();
	public void addCustomer(Customer customer);
	public void updateCustomer(Customer customer);
	public void deleteCustomer(Integer id);
	public List<Customer> SearchCustomer(CustomerSearch customerSearch);
	public List<Map <String,Object>> SearchCustomerWithMoney();
	
}
